
/* Common css files for both frontend and backend */

/* Reset default browser styling */

/******************************************************************************/
/* TAGS */

html, body {
    width: 100%;
    height: 100%;
    font-family: Calibri, Arial, Verdana;
    font-size: 12px;
}

a { color: orangered; text-decoration: none; }

h1, h2, h3, h4 { margin-bottom: 0.8em; }
h1 { font-size: 24px; letter-spacing: -1px; }
h2 { font-size: 18px; }
h3 { font-size: 14px; font-weight: bold; }
h4 { font-size: 12px; font-weight: bold; }

p {
    font-family: Calibri, Arial, Helvetica;
    text-align: justify;
    margin-bottom: 1.2em;
    line-height: 16px;
}
p.small {
    font-family: inherit;
    font-size: 10px;
}
p.medium {
    font-family: inherit;
    font-size: 12px;
}
p.big {
    font-family: inherit;
    font-size: 16px;
}

/******************************************************************************/
/* FORMS */

label { font-size: 11px; }
input, textarea {
    font-size: 12px;
    font-family: Calibri, Arial, Verdana;
    border: 1px solid #ccc;
    padding: 3px;
}
input:hover, textarea:hover, input:focus, textarea:focus {
    border: 1px solid #999;
}

fieldset {
    margin-bottom: 20px;
    border: 1px solid red;
    padding: 10px;
}

legend {}

/******************************************************************************/
/* LAYOUT */

#wrapper { min-height: 100%; }

#top, #header, #navigation {
    height: 30px;
    padding: 10px 0;
    margin-bottom: 25px;
    background: #ffefe2;
}
#top {
    position: absolute;
    z-index: 1;
    width: 100%;
    border-bottom: 1px solid #f2c6ab;
}

#container, #footer div { width: 800px; margin: 0 auto; }

#container {
    position: relative;
    z-index: 2;
    height: 100%;
    padding-bottom: 50px;
    margin-bottom: 25px;
    overflow: auto;
}

#header {
    display: block;
}
#header #logo { float: left; }
#header #navigation { position: absolute; right: 0; top: 0; width: 650px; }
#header #navigation #mainmenu { float: left; }
#header #navigation #mainmenu ul {
    position: absolute;
    bottom: 0;
}

#header #navigation #mainmenu ul li { display: inline-block; margin-left: 5px; }
#header #navigation #mainmenu ul li:first-child { margin-left: 0; }
#header #navigation #mainmenu ul li a {
    display: block;
    background: #444;
    color: #fff;
    padding: 10px 15px 8px;
    text-decoration: none;
}
#header #navigation #search { position: absolute; right: 0; top: 12px; float: right;  }

h1#headline {
    border-bottom: 1px solid #ccc;
    padding-bottom: 25px;
    margin-bottom: 25px;
}

#content {
    display: block;
}
#content div#left { float: left; width: 25%; }
#content div#right { float: right; width: 75%; }

#footer {
    border-top: 1px solid #f2c6ab;
    background: #ffefe2;
    position: relative;
    margin-top: -26px; /* negative value of footer height */
    height: 25px;
    clear: both;
    line-height: 25px;
}
#footer div { width: 800px; margin: 0 auto; }

/*Show logo (for all pages)     */
#logo {

}
#logo img { margin-top: 3px; }

/******************************************************************************/
/* MISC */

br.clear { display: block; clear: both; }

#search-results { width: 100%; font-size: 18px; }
#search-results th { font-weight: bold; padding-bottom: 20px; }
#search-results td {
    
    padding: 10px 0;
    border-bottom: 1px solid #ccc;
}
#search-results .name { width: 20%; }
#search-results .email { width: 80%; }

.error, .error:focus, .error:hover { border: 1px solid red; }
label.error {
    border: none;
    color: red;
    margin-left: 10px;
}